//
//  SpeedDialInserterViewController.h
//  LabanBrowser
//
//  Created by -Xh- on 3/22/13.
//  Copyright (c) 2013 VNG. All rights reserved.
//

#import <UIKit/UIKit.h>

#import "HistoryCell.h"
#import "StaticVariables.h"
@protocol SpeedDialInserterProtocol <NSObject>

@optional
-(void)onCancelingSpeedDialInserter;
-(void)onSavingSpeedDialToDB:(SpeedDialModel*)_speedDial;

@end

@interface SpeedDialInserterViewController : UIViewController<UITableViewDataSource, UITableViewDelegate,UITextFieldDelegate>
@property (strong, nonatomic) IBOutlet UITextField *titleTF;
@property (strong, nonatomic) IBOutlet UITextField *urlTF;
@property (strong, nonatomic) IBOutlet UITableView *historyTBV;
@property (nonatomic) id<SpeedDialInserterProtocol> delegate;
@property (weak, nonatomic) IBOutlet UIButton *cancelBT;
@property (weak, nonatomic) IBOutlet UIButton *saveBT;

@property (weak, nonatomic) IBOutlet UIImageView *topBackgroundIMV;
- (IBAction)saveSpeedDial:(id)sender;
- (IBAction)backToMainVC:(id)sender;
@property (strong, nonatomic) IBOutlet UILabel *topTitleLB;


@end
